package cn.damai.search.mapper;

import cn.damai.model.Area;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AreaMapper {

	Area getAreaById(@Param(value = "id") Long id);

	List<Area> getAreaListByMap(Map<String, Object> param);

	Integer getAreaCountByMap(Map<String, Object> param);

	Integer insertArea(Area Area);

	Integer updateArea(Area Area);

//	Integer deleteAreaById(@Param(value = "id") Long id);
//
//	Integer batchDeleteArea(Map<String,List<String>> params);

}
